﻿
Imports System.Collections.Generic
Imports System.ServiceModel
Imports ATS.Business.Entities


<ServiceContract([Namespace]:="http://localhost//LayerSample/Expense/2007/08", SessionMode:=SessionMode.Allowed)> _
Public Interface IAssetService


    <OperationContract()> _
    Function ListActiveAssets() As MainAssetsTable

    '<OperationContract()> _
    '<FaultContract(GetType(ProcessExecutionFault))> _
    'Function ListExpensesForEmployee(ByVal employeeID As String) As List(Of Asset)

    '<OperationContract()> _
    '<FaultContract(GetType(ProcessExecutionFault))> _
    'Function ListExpensesForApproval(ByVal reviewerID As String) As List(Of Asset)

    '<OperationContract()> _
    '<FaultContract(GetType(ProcessExecutionFault))> _
    'Function ListExpenseReviews(ByVal expenseID As Long) As List(Of Asset)

    '<OperationContract()> _
    '<FaultContract(GetType(ProcessExecutionFault))> _
    'Function ListExpenseLogs(ByVal expenseID As Long) As List(Of Asset)

End Interface



